package obs.dao;

import java.sql.SQLException;
import java.util.Date;
import java.util.List;

import obs.bean.User;

public interface UserDao {

    public boolean login(String uid, String pwd) throws SQLException;

    public boolean regist(String uid, String pwd, Date bothday) throws SQLException;

    public List<User> get(String uid) throws SQLException;
}
